#include "stm32f10x.h"                  // Device header
#include "game_map.h"
#include "OLED.h"

void Game_map_Init(void)
{
	OLED_ShowImage(0 , 0 ,128,64,qiang);	
}

void Time_Add(uint16_t* time, uint8_t* _s, uint8_t* _m)
{
	if(*time == 1000)
	{
		*time = 0;
		*_s += 1;
		if(*_s == 60)
		{
			*_s = 0;
			*_m += 1;
		}
	}
	
	OLED_ShowNum(2 , 3 , *_m, 2, OLED_6X8);
	OLED_ShowString(14, 3,":", OLED_6X8);
	OLED_ShowNum(19 , 3 , *_s, 2, OLED_6X8);
	
}

